package com.kch.system.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.kch.common.core.domain.BaseEntity;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

public class MeetingVO extends BaseEntity {

    /**
     * 主键id
     */
    private Integer id;

    /**
     * 会议类型
     */
    @NotBlank(message = "会议类型不能为空")
    private String category;

    /**
     * 会议标题
     */
    @NotBlank(message = "会议标题不能为空")
    private String title;

    /**
     * 地点
     */
    @NotBlank(message = "会议地点不能为空")
    private String site;

    /**
     * 举办时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date holdTime;

    /**
     * 报名时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date regTime;

    /**
     * 地点
     */
    @NotBlank(message = "会议封面图不能为空")
    private String imageurl;

    /**
     * 0: 禁用 1.启用
     */
    private String status;

    /**
     * 栏目编码
     */
    private String cloumnCode;

    /**
     * 文章内容
     */
    @NotBlank(message = "详情不能为空")
    private String content;

    @NotNull(message = "会议举办时间不能为空")
    private String holdTimeTxt;

    @NotNull(message = "会议报名时间不能为空")
    private String regTimeTxt;

    /**
     * 报名人数
     */
    private Integer memberEntry;

    /**
     * 报名审核通过人数
     */
    private Integer memberPass;


    public String getHoldTimeTxt() {
        return holdTimeTxt;
    }

    public void setHoldTimeTxt(String holdTimeTxt) {
        this.holdTimeTxt = holdTimeTxt;
    }

    public String getRegTimeTxt() {
        return regTimeTxt;
    }

    public void setRegTimeTxt(String regTimeTxt) {
        this.regTimeTxt = regTimeTxt;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSite() {
        return site;
    }

    public void setSite(String site) {
        this.site = site;
    }

    public Date getHoldTime() {
        return holdTime;
    }

    public void setHoldTime(Date holdTime) {
        this.holdTime = holdTime;
    }

    public Date getRegTime() {
        return regTime;
    }

    public void setRegTime(Date regTime) {
        this.regTime = regTime;
    }

    public String getImageurl() {
        return imageurl;
    }

    public void setImageurl(String imageurl) {
        this.imageurl = imageurl;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCloumnCode() {
        return cloumnCode;
    }

    public void setCloumnCode(String cloumnCode) {
        this.cloumnCode = cloumnCode;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getMemberEntry() {
        return memberEntry;
    }

    public void setMemberEntry(Integer memberEntry) {
        this.memberEntry = memberEntry;
    }

    public Integer getMemberPass() {
        return memberPass;
    }

    public void setMemberPass(Integer memberPass) {
        this.memberPass = memberPass;
    }
}
